<?php
$LodgingPhoto = $LodgingPhoto instanceof sfOutputEscaper ? $LodgingPhoto->getRawValue() : $LodgingPhoto;
$dir = sfConfig::get('app_photos_path');
echo tag( 'img', array( 'src' => $dir['mini'].$LodgingPhoto->getLodgingPhoto(), 'alt' => "" ) );
?>